package com.youth.hrsync.config.batch;

import org.springframework.batch.core.configuration.annotation.EnableBatchProcessing;
import org.springframework.batch.core.configuration.annotation.JobBuilderFactory;
import org.springframework.batch.core.configuration.annotation.StepBuilderFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Configuration;

@Configuration
@EnableBatchProcessing
public class DefaultBatchConfig {


    @Autowired
    JobBuilderFactory jobBuilderFactory;

    @Autowired
    StepBuilderFactory stepBuilderFactory;
//
//    @Autowired
//    @Qualifier(value = "primaryDataSource")
//    DataSource dataSource;
////
//    @Autowired
//    @Qualifier(value = "xianDataSource")
//    DataSource xianDataSource;
//
//    @Autowired
//    @Qualifier(value = "kunshanDataSource")
//    DataSource kunshanDataSource;

}
